package com.chuanyang.driverh.responseresult;

import java.io.Serializable;
import java.util.List;

public class DriverWayBillData  {
    /**
     * data : [{"bidGoodsName":["shsh","sha"],"capacity":20,"carStandard":"12m*3m*4*m","createtime":"2016-08-17 10:44:48.0","orderId":128,"phone":"15800388689","star":4.9,"startAddr":"上海市","targetAddr":"上海市","userId":16,"userImage":"22","username":"小明","waybillId":3,"waybillNo":"sdas12sadd","waybillStatus":1},{"bidGoodsName":[],"capacity":20,"carStandard":"12m*3m*4*m","createtime":"2016-08-17 10:44:46.0","orderId":128,"phone":"15800388689","star":4.9,"startAddr":"上海市","targetAddr":"上海市","userId":16,"userImage":"22","username":"小明","waybillId":2,"waybillNo":"sdassadd","waybillStatus":1},{"bidGoodsName":[],"capacity":20,"carStandard":"12m*3m*4*m","createtime":"2016-08-17 10:44:45.0","orderId":128,"phone":"15800388689","star":4.9,"startAddr":"上海市","targetAddr":"上海市","userId":16,"userImage":"22","username":"小明","waybillId":1,"waybillNo":"sdasd","waybillStatus":1}]
     * total : 3
     * totalPages : 1
     */

    private int total;
    private int totalPages;
    /**
     * bidGoodsName : ["shsh","sha"]
     * capacity : 20
     * carStandard : 12m*3m*4*m
     * createtime : 2016-08-17 10:44:48.0
     * orderId : 128
     * phone : 15800388689
     * star : 4.9
     * startAddr : 上海市
     * targetAddr : 上海市
     * userId : 16
     * userImage : 22
     * username : 小明
     * waybillId : 3
     * waybillNo : sdas12sadd
     * waybillStatus : 1
     */

    private List<DataBean> data;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(int totalPages) {
        this.totalPages = totalPages;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        public Double getCapacity() {
            return capacity;
        }

        public void setCapacity(Double capacity) {
            this.capacity = capacity;
        }

        private Double capacity;
        private String carStandard;
        private GoodsSumBean goodsSum;//{"goodsNum": 3,"goodsWeight": 26.87}   货物重量和数量



        private String contactPhone;
        private int orderId;
        private Double price;
        private String phone;
        private float star;
        private String startAddr;
        private String latAndLng;//经纬度
        private Integer carId;//GPS车辆id
        private Long order_startime;
        private Long order_endtime;
        private String targetAddr;
        private int userId;
        private String userImage;
        private String username;
        private int waybillId;
        private int wizardId;
        private Long createtime;
        private String waybillNo;
        private int waybillStatus;//运单状态
        private Integer order_type;//运单类型
        private List<String> bidGoodsName;
        private String demurrage;//滞期费
        private String stevedoreDay;//装卸期限
        private String loadDate;//受载日期
        private  int transPortWay;//运输类型（1车，2船）
        private  int currency;//订单外贸类型（1人民币，2美元）
        private String currencyType;//订单外贸类型中文
        private String unit;//订单外贸类型符号

        public String getContactPhone() {
            return contactPhone;
        }

        public void setContactPhone(String contactPhone) {
            this.contactPhone = contactPhone;
        }
        public int getOrderId() {
            return orderId;
        }

        public void setOrderId(int orderId) {
            this.orderId = orderId;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public float getStar() {
            return star;
        }

        public void setStar(float star) {
            this.star = star;
        }

        public String getStartAddr() {
            return startAddr;
        }

        public void setStartAddr(String startAddr) {
            this.startAddr = startAddr;
        }

        public String getTargetAddr() {
            return targetAddr;
        }

        public void setTargetAddr(String targetAddr) {
            this.targetAddr = targetAddr;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getUserImage() {
            return userImage;
        }

        public void setUserImage(String userImage) {
            this.userImage = userImage;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public int getWaybillId() {
            return waybillId;
        }

        public void setWaybillId(int waybillId) {
            this.waybillId = waybillId;
        }

        public String getWaybillNo() {
            return waybillNo;
        }

        public void setWaybillNo(String waybillNo) {
            this.waybillNo = waybillNo;
        }


        public List<String> getBidGoodsName() {
            return bidGoodsName;
        }

        public void setBidGoodsName(List<String> bidGoodsName) {
            this.bidGoodsName = bidGoodsName;
        }

        public Long getCreatetime() {
            return createtime;
        }

        public void setCreatetime(Long createtime) {
            this.createtime = createtime;
        }

        public Long getOrder_endtime() {
            return order_endtime;
        }

        public void setOrder_endtime(Long order_endtime) {
            this.order_endtime = order_endtime;
        }

        public String getCarStandard() {
            return carStandard;
        }

        public void setCarStandard(String carStandard) {
            this.carStandard = carStandard;
        }

        public Long getOrder_startime() {
            return order_startime;
        }

        public void setOrder_startime(Long order_startime) {
            this.order_startime = order_startime;
        }

        public int getWaybillStatus() {
            return waybillStatus;
        }

        public void setWaybillStatus(int waybillStatus) {
            this.waybillStatus = waybillStatus;
        }

        public Integer getOrder_type() {
            return order_type;
        }

        public void setOrder_type(Integer order_type) {
            this.order_type = order_type;
        }

        public Integer getCarId() {
            return carId;
        }

        public void setCarId(Integer carId) {
            this.carId = carId;
        }

        public String getLatAndLng() {
            return latAndLng;
        }

        public void setLatAndLng(String latAndLng) {
            this.latAndLng = latAndLng;
        }

        public int getWizardId() {
            return wizardId;
        }

        public void setWizardId(int wizardId) {
            this.wizardId = wizardId;
        }

        public String getDemurrage() {
            return demurrage;
        }

        public void setDemurrage(String demurrage) {
            this.demurrage = demurrage;
        }

        public String getStevedoreDay() {
            return stevedoreDay;
        }

        public void setStevedoreDay(String stevedoreDay) {
            this.stevedoreDay = stevedoreDay;
        }

        public String getLoadDate() {
            return loadDate;
        }

        public void setLoadDate(String loadDate) {
            this.loadDate = loadDate;
        }

        public int getTransPortWay() {
            return transPortWay;
        }

        public void setTransPortWay(int transPortWay) {
            this.transPortWay = transPortWay;
        }


        public GoodsSumBean getGoodsSum() {
            return goodsSum;
        }

        public void setGoodsSum(GoodsSumBean goodsSum) {
            this.goodsSum = goodsSum;
        }

        public Double getPrice() {
            return price;
        }

        public void setPrice(Double price) {
            this.price = price;
        }

        public int getCurrency() {
            return currency;
        }

        public void setCurrency(int currency) {
            this.currency = currency;
        }

        public String getCurrencyType() {
            return currencyType;
        }

        public void setCurrencyType(String currencyType) {
            this.currencyType = currencyType;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }
    }
    public  static  class GoodsSumBean
    {
        private int goodsNum;
        private double goodsWeight;

        public int getGoodsNum() {
            return goodsNum;
        }

        public void setGoodsNum(int goodsNum) {
            this.goodsNum = goodsNum;
        }

        public double getGoodsWeight() {
            return goodsWeight;
        }

        public void setGoodsWeight(double goodsWeight) {
            this.goodsWeight = goodsWeight;
        }
    }
}
